package ${packageName}.${mapperPackage};

import ${packageName}.${entityPackage}.${entity}Entity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import ${packageName}.${requestPackage}.${entity}CreateRequest;
import ${packageName}.${requestPackage}.${entity}UpdateRequest;

/**
 * @Description: ${table.comment}转化器
 * @author: ${author}
 * @Date: ${date}
 */
@Mapper
public interface ${entity}ConverterConfiguration{
    ${entity}ConverterConfiguration INSTANCE = Mappers.getMapper(${entity}ConverterConfiguration.class);

    ${entity}Entity ${entity}CreateRequest2${entity}Entity(${entity}CreateRequest ${entity?uncap_first}CreateRequest);

    ${entity}Entity ${entity}UpdateRequest2${entity}Entity(${entity}UpdateRequest ${entity?uncap_first}UpdateRequest);
}
